import *  as React from 'react';
import { Link } from 'react-router-dom';
import { Menu, Icon } from 'antd';
import logo from "@/assets/imgs/logo-b.png"

const MenuItem = Menu.Item;

function Sider() {
    return (
        <div>
            <div>
                <Link to='/'>
                    <img src={logo} alt="" />
                </Link>
            </div>
            <Menu>
                <MenuItem key='project'>
                    <Link to='/project'>
                        <Icon type='appstore' />
                        <span>项目列表</span>
                    </Link>

                </MenuItem>
                <MenuItem key='error'>
                    <Icon type='bug' />
                    <span>错误列表</span>
                </MenuItem>

            </Menu>
        </div>
    )
}

export default Sider;